import { http } from '@/utils/https'

// 加入购物车
export const addCartApi = (data: any) => {
  return http({
    method: 'POST',
    url: '/member/cart',
    data,
  })
}

// 获取购物车列表
export const getCartListApi = (data: any) => {
  return http({
    method: 'GET',
    url: '/member/cart',
    data,
  })
}
